package br.com.pibjp.dao;

import java.util.List;

import org.hibernate.criterion.Criterion;

public interface IGenericDAO<T> {

    T selectById(int id);

    List<T> selectAll();

    List<T> selectWhere(Criterion ...criterions );

    T create(T entity);
    
    T update(T entity);
}
